//$main-color: #1890ff;
$main-color: #0099FF;
[v-cloak] {
  display: none;
}

.main-col {
  color: $main-color;
}

.layout-1200 {
  width: 1200px;
  margin: 0 auto;
}

/** 常用的几个状态色 **/
.col-def {
  color: #333333 !important;
}

.col-info {
  color: #2db7f5 !important;
}

.col-success {
  color: #19be6b !important;
}

.col-warning {
  color: #ff9900 !important;
}

.col-error {
  color: #ed4014 !important;
}

.col-price {
  color: #FF3B30 !important;
}

.bg-def {
  color: #ffffff !important;
  background-color: #333333 !important;
}

.bg-info {
  color: #ffffff !important;
  background-color: #2db7f5 !important;
}

.bg-success {
  color: #ffffff !important;
  background-color: #19be6b !important;
}

.bg-warning {
  color: #ffffff !important;
  background-color: #ff9900 !important;
}

.bg-error {
  color: #ffffff !important;
  background-color: #ed4014 !important;
}

.bg-white {
  background: #fff !important;
}

.link {
  color: #1890ff;
  text-decoration: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  transition: color .3s;

  &:active, &:hover {
    text-decoration: none;
    outline: 0;
  }

  &:active {
    color: #096dd9;
  }
}

.router-link-none {
  text-decoration: none;
  color: inherit;
}

.router-link, .router-link-hover {
  color: #409EFF;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.link-hover {
  position: relative;
  cursor: pointer;
  color: #333333;
  transition: color 0.3s;
}

.link-hover:hover {
  color: #409EFF;
  //text-decoration: underline;
}

.router-link-hover:hover:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  bottom: 0;
  border-bottom: 1px solid #409EFF;
}

/**浮动*/
.float-l {
  float: left;
}

.float-r {
  float: right;
}

/**清楚浮动*/
.clearfix {
  zoom: 1;

  &:after {
    content: "\20";
    display: block;
    height: 0;
    clear: both;
  }
}

/** be defined by cj */
.text-price:before {
  content: '￥';
  font-size: 14px;
}

.text-3 {
  color: #333;
}

.text-6 {
  color: #666;
}

.text-9 {
  color: #999;
}

.text-12-grey {
  font-size: 12px;
  letter-spacing: .5px;
  line-height: 1.5;
  color: #999;
}

.text-line {
  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
}

.img-cj {
  position: relative;

  img {
    position: absolute;;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
  }
}

.border-left {
  border-left: 1px solid #f5f5f5;
}

.border-top {
  border-top: 1px solid #f5f5f5;
}

.border-right {
  border-right: 1px solid #f5f5f5;
}

.border-bottom {
  border-bottom: 1px solid #f5f5f5;
}

/**鼠标样式 */
[cursor], .cursor { /**手形样式*/
  cursor: pointer;
}

[select-none], .select-none { /*取消选中文本*/
  user-select: none;
}

.text-xs {
  font-size: 12px;
}

.text-sm {
  font-size: 14px;
}

.text-df {
  font-size: 16px;
}

.text-lg {
  font-size: 18px;
}

.text-xl {
  font-size: 20px;
}

.text-f22 {
  font-size: 22px;
}

.text-f24 {
  font-size: 24px;
}

.text-f26 {
  font-size: 26px;
}

.text-f28 {
  font-size: 28px;
}

.text-f30 {
  font-size: 30px;
}

.text-f32 {
  font-size: 32px;
}

.text-f34 {
  font-size: 34px;
}

.text-f36 {
  font-size: 36px;
}

.text-f38 {
  font-size: 38px;
}

.text-f40 {
  font-size: 40px;
}

.text-f42 {
  font-size: 42px;
}

.text-f44 {
  font-size: 44px;
}

.text-f46 {
  font-size: 46px;
}

.text-f48 {
  font-size: 48px;
}

.text-f50 {
  font-size: 50px;
}

.text-f52 {
  font-size: 52px;
}

.text-f54 {
  font-size: 54px;
}

.text-f56 {
  font-size: 56px;
}

.text-f58 {
  font-size: 58px;
}

.text-f60 {
  font-size: 60px;
}


.flex {
  display: flex;
}

.flex-sub {
  flex: 1;
}

.flex-direction {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.align-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: flex-center;
}

.self-end {
  align-self: flex-end;
}

.self-stretch {
  align-self: stretch;
}

.align-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.margin-0 {
  margin: 0;
}

.margin-xs {
  margin: 10px;
}

.margin-sm {
  margin: 20px;
}

.margin {
  margin: 30px;
}

.margin-lg {
  margin: 40px;
}

.margin-xl {
  margin: 50px;
}

.margin-top-xs {
  margin-top: 10px;
}

.margin-top-sm {
  margin-top: 20px;
}

.margin-top {
  margin-top: 30px;
}

.margin-top-lg {
  margin-top: 40px;
}

.margin-top-xl {
  margin-top: 50px;
}

.margin-right-xs {
  margin-right: 10px;
}

.margin-right-sm {
  margin-right: 20px;
}

.margin-right {
  margin-right: 30px;
}

.margin-right-lg {
  margin-right: 40px;
}

.margin-right-xl {
  margin-right: 50px;
}

.margin-bottom-xs {
  margin-bottom: 10px;
}

.margin-bottom-sm {
  margin-bottom: 20px;
}

.margin-bottom {
  margin-bottom: 30px;
}

.margin-bottom-lg {
  margin-bottom: 40px;
}

.margin-bottom-xl {
  margin-bottom: 50px;
}

.margin-left-xs {
  margin-left: 10px;
}

.margin-left-sm {
  margin-left: 20px;
}

.margin-left {
  margin-left: 30px;
}

.margin-left-lg {
  margin-left: 40px;
}

.margin-left-xl {
  margin-left: 50px;
}

.margin-lr-xs {
  margin-left: 10px;
  margin-right: 10px;
}

.margin-lr-sm {
  margin-left: 20px;
  margin-right: 20px;
}

.margin-lr {
  margin-left: 30px;
  margin-right: 30px;
}

.margin-lr-lg {
  margin-left: 40px;
  margin-right: 40px;
}

.margin-lr-xl {
  margin-left: 50px;
  margin-right: 50px;
}

.margin-tb-xs {
  margin-top: 10px;
  margin-bottom: 10px;
}

.margin-tb-sm {
  margin-top: 20px;
  margin-bottom: 20px;
}

.margin-tb {
  margin-top: 30px;
  margin-bottom: 30px;
}

.margin-tb-lg {
  margin-top: 40px;
  margin-bottom: 40px;
}

.margin-tb-xl {
  margin-top: 50px;
  margin-bottom: 50px;
}

.padding-0 {
  padding: 0;
}

.padding-xs {
  padding: 10px;
}

.padding-sm {
  padding: 20px;
}

.padding {
  padding: 30px;
}

.padding-lg {
  padding: 40px;
}

.padding-xl {
  padding: 50px;
}

.padding-top-xs {
  padding-top: 10px;
}

.padding-top-sm {
  padding-top: 20px;
}

.padding-top {
  padding-top: 30px;
}

.padding-top-lg {
  padding-top: 40px;
}

.padding-top-xl {
  padding-top: 50px;
}

.padding-right-xs {
  padding-right: 10px;
}

.padding-right-sm {
  padding-right: 20px;
}

.padding-right {
  padding-right: 30px;
}

.padding-right-lg {
  padding-right: 40px;
}

.padding-right-xl {
  padding-right: 50px;
}

.padding-bottom-xs {
  padding-bottom: 10px;
}

.padding-bottom-sm {
  padding-bottom: 20px;
}

.padding-bottom {
  padding-bottom: 30px;
}

.padding-bottom-lg {
  padding-bottom: 40px;
}

.padding-bottom-xl {
  padding-bottom: 50px;
}

.padding-left-xs {
  padding-left: 10px;
}

.padding-left-sm {
  padding-left: 20px;
}

.padding-left {
  padding-left: 30px;
}

.padding-left-lg {
  padding-left: 40px;
}

.padding-left-xl {
  padding-left: 50px;
}

.padding-lr-xs {
  padding-left: 10px;
  padding-right: 10px;
}

.padding-lr-sm {
  padding-left: 20px;
  padding-right: 20px;
}

.padding-lr {
  padding-left: 30px;
  padding-right: 30px;
}

.padding-lr-lg {
  padding-left: 40px;
  padding-right: 40px;
}

.padding-lr-xl {
  padding-left: 50px;
  padding-right: 50px;
}

.padding-tb-xs {
  padding-top: 10px;
  padding-bottom: 10px;
}

.padding-tb-sm {
  padding-top: 20px;
  padding-bottom: 20px;
}

.padding-tb-smf {
  padding-top: 16px;
  padding-bottom: 16px;
}

.padding-tb {
  padding-top: 30px;
  padding-bottom: 30px;
}

.padding-tb-lg {
  padding-top: 40px;
  padding-bottom: 40px;
}

.padding-tb-xl {
  padding-top: 50px;
  padding-bottom: 50px;
}

.text-cut {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.text-bold {
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.text-content {
  line-height: 1.6;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-main,
.line-main,
.lines-main {
  color: #01ADFF;
}

.text-red,
.line-red,
.lines-red {
  color: #e54d42;
}

.col-main {
  color: #01ADFF;
}

.text-orange,
.line-orange,
.lines-orange {
  color: #f37b1d;
}

.text-yellow,
.line-yellow,
.lines-yellow {
  color: #fbbd08;
}

.text-olive,
.line-olive,
.lines-olive {
  color: #8dc63f;
}

.text-green,
.line-green,
.lines-green {
  color: #39b54a;
}

.text-cyan,
.line-cyan,
.lines-cyan {
  color: #1cbbb4;
}

.text-blue,
.line-blue,
.lines-blue {
  color: #0081ff;
}

.text-purple,
.line-purple,
.lines-purple {
  color: #6739b6;
}

.text-mauve,
.line-mauve,
.lines-mauve {
  color: #9c26b0;
}

.text-pink,
.line-pink,
.lines-pink {
  color: #e03997;
}

.text-brown,
.line-brown,
.lines-brown {
  color: #a5673f;
}

.text-grey,
.line-grey,
.lines-grey {
  color: #8799a3;
}

.text-gray,
.line-gray,
.lines-gray {
  color: #aaaaaa;
}

.text-black,
.line-black,
.lines-black {
  color: #333333;
}

.text-white,
.line-white,
.lines-white {
  color: #ffffff;
}

/**下划线**/
.text-underline {
  text-decoration: underline;
}

/* ==================
          背景
 ==================== */

.line-red::after,
.lines-red::after {
  border-color: #e54d42;
}

.line-orange::after,
.lines-orange::after {
  border-color: #f37b1d;
}

.line-yellow::after,
.lines-yellow::after {
  border-color: #fbbd08;
}

.line-olive::after,
.lines-olive::after {
  border-color: #8dc63f;
}

.line-green::after,
.lines-green::after {
  border-color: #39b54a;
}

.line-cyan::after,
.lines-cyan::after {
  border-color: #1cbbb4;
}

.line-blue::after,
.lines-blue::after {
  border-color: #0081ff;
}

.line-purple::after,
.lines-purple::after {
  border-color: #6739b6;
}

.line-mauve::after,
.lines-mauve::after {
  border-color: #9c26b0;
}

.line-pink::after,
.lines-pink::after {
  border-color: #e03997;
}

.line-brown::after,
.lines-brown::after {
  border-color: #a5673f;
}

.line-grey::after,
.lines-grey::after {
  border-color: #8799a3;
}

.line-gray::after,
.lines-gray::after {
  border-color: #aaaaaa;
}

.line-black::after,
.lines-black::after {
  border-color: #333333;
}

.line-white::after,
.lines-white::after {
  border-color: #ffffff;
}

.bg-main {
  background-color: #01ADFF;
  color: #ffffff;
}

.bg-red {
  background-color: #e54d42;
  color: #ffffff;
}

.bg-orange {
  background-color: #f37b1d;
  color: #ffffff;
}

.bg-yellow {
  background-color: #fbbd08;
  color: #333333;
}

.bg-olive {
  background-color: #8dc63f;
  color: #ffffff;
}

.bg-green {
  background-color: #39b54a;
  color: #ffffff;
}

.bg-cyan {
  background-color: #1cbbb4;
  color: #ffffff;
}

.bg-blue {
  background-color: #0081ff;
  color: #ffffff;
}

.bg-purple {
  background-color: #6739b6;
  color: #ffffff;
}

.bg-mauve {
  background-color: #9c26b0;
  color: #ffffff;
}

.bg-pink {
  background-color: #e03997;
  color: #ffffff;
}

.bg-brown {
  background-color: #a5673f;
  color: #ffffff;
}

.bg-grey {
  background-color: #8799a3;
  color: #ffffff;
}

.bg-gray {
  background-color: #f0f0f0;
  color: #333333;
}

.bg-black {
  background-color: #333333;
  color: #ffffff;
}

.bg-white {
  background-color: #ffffff;
  color: #666666;
}

/**超出显示省略号*/
.ellip {
  overflow: hidden; //超出的文本隐藏
  text-overflow: ellipsis; //溢出用省略号显示
  white-space: nowrap; //溢出不换行
}

.inline-block {
  display: inline-block;
}

.ellip2, .ellip3, .ellip4, .ellip5, .ellip6, .ellip7 {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  display: -webkit-box; //作为弹性伸缩盒子模型显示。
  -webkit-box-orient: vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
}

.ellip2 {
  -webkit-line-clamp: 2; //显示的行
}

.ellip3 {
  -webkit-line-clamp: 3; //显示的行
}

.ellip4 {
  -webkit-line-clamp: 4; //显示的行
}

.ellip5 {
  -webkit-line-clamp: 5; //显示的行
}

.ellip6 {
  -webkit-line-clamp: 6; //显示的行
}

.ellip7 {
  -webkit-line-clamp: 7; //显示的行
}

/**active*/
.active-anim {
  transition: color 0.2s;

  &.active {
    color: $main-color;
  }

  &:hover {
    color: $main-color;
  }
}

/**after边线动画*/
.after-line-anim {
  position: relative;

  &:hover, &.line-active, &.active {
    color: $main-color;
  }

  &:hover:after, &.line-active:after {
    width: 90%;
    color: $main-color;
    visibility: visible;
  }

  &:after, &.line-active:after {
    content: " ";
    display: block;
    min-height: 2px;
    width: 0;
    visibility: hidden;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    background: $main-color !important;
    transition: all 0.2s;
  }
}

/**边线*/
.line-none:after {
  display: none !important;
}

.line-bottom {
  position: relative;
}

.line-bottom:after {
  content: " ";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid #f4f4f4;
}














